Optimal. Leaf size=470 \[ -\frac{2 b c^5 d^2 x^7 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{49 \sqrt{c x-1} \sqrt{c x+1}}+\frac{6 b c^3 d^2 x^5 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{35 \sqrt{c x-1} \sqrt{c x+1}}-\frac{2 b c d^2 x^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{7 \sqrt{c x-1} \sqrt{c x+1}}+\frac{2 b d^2 x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{7 c \sqrt{c x-1} \sqrt{c x+1}}-\frac{\left (d-c^2 d x^2\right )^{7/2} \left (a+b \cosh ^{-1}(c x)\right )^2}{7 c^2 d}-\frac{2 b^2 d^2 \left (1-c^2 x^2\right )^4 \sqrt{d-c^2 d x^2}}{343 c^2 (1-c x) (c x+1)}-\frac{12 b^2 d^2 \left (1-c^2 x^2\right )^3 \sqrt{d-c^2 d x^2}}{1225 c^2 (1-c x) (c x+1)}-\frac{16 b^2 d^2 \left (1-c^2 x^2\right )^2 \sqrt{d-c^2 d x^2}}{735 c^2 (1-c x) (c x+1)}-\frac{32 b^2 d^2 \left (1-c^2 x^2\right ) \sqrt{d-c^2 d x^2}}{245 c^2 (1-c x) (c x+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.680231, antiderivative size = 485, normalized size of antiderivative = 1.03, number of steps used = 8, number of rules used = 8, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.296, Rules used = {5798, 5718, 194, 5680, 12, 1610, 1799, 1850} \[ -\frac{2 b c^5 d^2 x^7 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{49 \sqrt{c x-1} \sqrt{c x+1}}+\frac{6 b c^3 d^2 x^5 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{35 \sqrt{c x-1} \sqrt{c x+1}}-\frac{2 b c d^2 x^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{7 \sqrt{c x-1} \sqrt{c x+1}}+\frac{2 b d^2 x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{7 c \sqrt{c x-1} \sqrt{c x+1}}-\frac{d^2 (1-c x)^3 (c x+1)^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{7 c^2}-\frac{2 b^2 d^2 \left (1-c^2 x^2\right )^4 \sqrt{d-c^2 d x^2}}{343 c^2 (1-c x) (c x+1)}-\frac{12 b^2 d^2 \left (1-c^2 x^2\right )^3 \sqrt{d-c^2 d x^2}}{1225 c^2 (1-c x) (c x+1)}-\frac{16 b^2 d^2 \left (1-c^2 x^2\right )^2 \sqrt{d-c^2 d x^2}}{735 c^2 (1-c x) (c x+1)}-\frac{32 b^2 d^2 \left (1-c^2 x^2\right ) \sqrt{d-c^2 d x^2}}{245 c^2 (1-c x) (c x+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5798
Rule 5718
Rule 194
Rule 5680
Rule 12
Rule 1610
Rule 1799
Rule 1850
Rubi steps
\begin{align*} \int x \left (d-c^2 d x^2\right )^{5/2} \left (a+b \cosh ^{-1}(c x)\right )^2 \, dx &=\frac{\left (d^2 \sqrt{d-c^2 d x^2}\right ) \int x (-1+c x)^{5/2} (1+c x)^{5/2} \left (a+b \cosh ^{-1}(c x)\right )^2 \, dx}{\sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{d^2 (1-c x)^3 (1+c x)^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{7 c^2}-\frac{\left (2 b d^2 \sqrt{d-c^2 d x^2}\right ) \int \left (-1+c^2 x^2\right )^3 \left (a+b \cosh ^{-1}(c x)\right ) \, dx}{7 c \sqrt{-1+c x} \sqrt{1+c x}}\\ &=\frac{2 b d^2 x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{7 c \sqrt{-1+c x} \sqrt{1+c x}}-\frac{2 b c d^2 x^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{7 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{6 b c^3 d^2 x^5 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{35 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{2 b c^5 d^2 x^7 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{49 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{d^2 (1-c x)^3 (1+c x)^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{7 c^2}+\frac{\left (2 b^2 d^2 \sqrt{d-c^2 d x^2}\right ) \int \frac{x \left (-35+35 c^2 x^2-21 c^4 x^4+5 c^6 x^6\right )}{35 \sqrt{-1+c x} \sqrt{1+c x}} \, dx}{7 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=\frac{2 b d^2 x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{7 c \sqrt{-1+c x} \sqrt{1+c x}}-\frac{2 b c d^2 x^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{7 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{6 b c^3 d^2 x^5 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{35 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{2 b c^5 d^2 x^7 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{49 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{d^2 (1-c x)^3 (1+c x)^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{7 c^2}+\frac{\left (2 b^2 d^2 \sqrt{d-c^2 d x^2}\right ) \int \frac{x \left (-35+35 c^2 x^2-21 c^4 x^4+5 c^6 x^6\right )}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx}{245 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=\frac{2 b d^2 x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{7 c \sqrt{-1+c x} \sqrt{1+c x}}-\frac{2 b c d^2 x^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{7 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{6 b c^3 d^2 x^5 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{35 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{2 b c^5 d^2 x^7 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{49 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{d^2 (1-c x)^3 (1+c x)^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{7 c^2}+\frac{\left (2 b^2 d^2 \sqrt{-1+c^2 x^2} \sqrt{d-c^2 d x^2}\right ) \int \frac{x \left (-35+35 c^2 x^2-21 c^4 x^4+5 c^6 x^6\right )}{\sqrt{-1+c^2 x^2}} \, dx}{245 (-1+c x) (1+c x)}\\ &=\frac{2 b d^2 x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{7 c \sqrt{-1+c x} \sqrt{1+c x}}-\frac{2 b c d^2 x^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{7 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{6 b c^3 d^2 x^5 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{35 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{2 b c^5 d^2 x^7 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{49 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{d^2 (1-c x)^3 (1+c x)^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{7 c^2}+\frac{\left (b^2 d^2 \sqrt{-1+c^2 x^2} \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int \frac{-35+35 c^2 x-21 c^4 x^2+5 c^6 x^3}{\sqrt{-1+c^2 x}} \, dx,x,x^2\right )}{245 (-1+c x) (1+c x)}\\ &=\frac{2 b d^2 x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{7 c \sqrt{-1+c x} \sqrt{1+c x}}-\frac{2 b c d^2 x^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{7 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{6 b c^3 d^2 x^5 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{35 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{2 b c^5 d^2 x^7 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{49 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{d^2 (1-c x)^3 (1+c x)^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{7 c^2}+\frac{\left (b^2 d^2 \sqrt{-1+c^2 x^2} \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int \left (-\frac{16}{\sqrt{-1+c^2 x}}+8 \sqrt{-1+c^2 x}-6 \left (-1+c^2 x\right )^{3/2}+5 \left (-1+c^2 x\right )^{5/2}\right ) \, dx,x,x^2\right )}{245 (-1+c x) (1+c x)}\\ &=-\frac{32 b^2 d^2 \left (1-c^2 x^2\right ) \sqrt{d-c^2 d x^2}}{245 c^2 (1-c x) (1+c x)}-\frac{16 b^2 d^2 \left (1-c^2 x^2\right )^2 \sqrt{d-c^2 d x^2}}{735 c^2 (1-c x) (1+c x)}-\frac{12 b^2 d^2 \left (1-c^2 x^2\right )^3 \sqrt{d-c^2 d x^2}}{1225 c^2 (1-c x) (1+c x)}-\frac{2 b^2 d^2 \left (1-c^2 x^2\right )^4 \sqrt{d-c^2 d x^2}}{343 c^2 (1-c x) (1+c x)}+\frac{2 b d^2 x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{7 c \sqrt{-1+c x} \sqrt{1+c x}}-\frac{2 b c d^2 x^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{7 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{6 b c^3 d^2 x^5 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{35 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{2 b c^5 d^2 x^7 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{49 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{d^2 (1-c x)^3 (1+c x)^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{7 c^2}\\ \end{align*}
Mathematica [A] time = 0.59218, size = 234, normalized size = 0.5 \[ \frac{d^2 \sqrt{d-c^2 d x^2} \left (3675 a^2 \left (c^2 x^2-1\right )^4-210 a b c x \sqrt{c x-1} \sqrt{c x+1} \left (5 c^6 x^6-21 c^4 x^4+35 c^2 x^2-35\right )+210 b \cosh ^{-1}(c x) \left (35 a \left (c^2 x^2-1\right )^4+b c x \sqrt{c x-1} \sqrt{c x+1} \left (-5 c^6 x^6+21 c^4 x^4-35 c^2 x^2+35\right )\right )+2 b^2 \left (75 c^8 x^8-426 c^6 x^6+1108 c^4 x^4-2918 c^2 x^2+2161\right )+3675 b^2 \left (c^2 x^2-1\right )^4 \cosh ^{-1}(c x)^2\right )}{25725 c^2 \left (c^2 x^2-1\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.468, size = 1958, normalized size = 4.2 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.3219, size = 455, normalized size = 0.97 \begin{align*} -\frac{{\left (-c^{2} d x^{2} + d\right )}^{\frac{7}{2}} b^{2} \operatorname{arcosh}\left (c x\right )^{2}}{7 \, c^{2} d} - \frac{2 \,{\left (-c^{2} d x^{2} + d\right )}^{\frac{7}{2}} a b \operatorname{arcosh}\left (c x\right )}{7 \, c^{2} d} + \frac{2}{25725} \, b^{2}{\left (\frac{75 \, \sqrt{c^{2} x^{2} - 1} c^{4} \sqrt{-d} d^{3} x^{6} - 351 \, \sqrt{c^{2} x^{2} - 1} c^{2} \sqrt{-d} d^{3} x^{4} + 757 \, \sqrt{c^{2} x^{2} - 1} \sqrt{-d} d^{3} x^{2} - \frac{2161 \, \sqrt{c^{2} x^{2} - 1} \sqrt{-d} d^{3}}{c^{2}}}{d} - \frac{105 \,{\left (5 \, c^{6} \sqrt{-d} d^{3} x^{7} - 21 \, c^{4} \sqrt{-d} d^{3} x^{5} + 35 \, c^{2} \sqrt{-d} d^{3} x^{3} - 35 \, \sqrt{-d} d^{3} x\right )} \operatorname{arcosh}\left (c x\right )}{c d}\right )} - \frac{{\left (-c^{2} d x^{2} + d\right )}^{\frac{7}{2}} a^{2}}{7 \, c^{2} d} - \frac{2 \,{\left (5 \, c^{6} \sqrt{-d} d^{3} x^{7} - 21 \, c^{4} \sqrt{-d} d^{3} x^{5} + 35 \, c^{2} \sqrt{-d} d^{3} x^{3} - 35 \, \sqrt{-d} d^{3} x\right )} a b}{245 \, c d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.56769, size = 1031, normalized size = 2.19 \begin{align*} \frac{3675 \,{\left (b^{2} c^{8} d^{2} x^{8} - 4 \, b^{2} c^{6} d^{2} x^{6} + 6 \, b^{2} c^{4} d^{2} x^{4} - 4 \, b^{2} c^{2} d^{2} x^{2} + b^{2} d^{2}\right )} \sqrt{-c^{2} d x^{2} + d} \log \left (c x + \sqrt{c^{2} x^{2} - 1}\right )^{2} - 210 \,{\left (5 \, a b c^{7} d^{2} x^{7} - 21 \, a b c^{5} d^{2} x^{5} + 35 \, a b c^{3} d^{2} x^{3} - 35 \, a b c d^{2} x\right )} \sqrt{-c^{2} d x^{2} + d} \sqrt{c^{2} x^{2} - 1} - 210 \,{\left ({\left (5 \, b^{2} c^{7} d^{2} x^{7} - 21 \, b^{2} c^{5} d^{2} x^{5} + 35 \, b^{2} c^{3} d^{2} x^{3} - 35 \, b^{2} c d^{2} x\right )} \sqrt{-c^{2} d x^{2} + d} \sqrt{c^{2} x^{2} - 1} - 35 \,{\left (a b c^{8} d^{2} x^{8} - 4 \, a b c^{6} d^{2} x^{6} + 6 \, a b c^{4} d^{2} x^{4} - 4 \, a b c^{2} d^{2} x^{2} + a b d^{2}\right )} \sqrt{-c^{2} d x^{2} + d}\right )} \log \left (c x + \sqrt{c^{2} x^{2} - 1}\right ) +{\left (75 \,{\left (49 \, a^{2} + 2 \, b^{2}\right )} c^{8} d^{2} x^{8} - 12 \,{\left (1225 \, a^{2} + 71 \, b^{2}\right )} c^{6} d^{2} x^{6} + 2 \,{\left (11025 \, a^{2} + 1108 \, b^{2}\right )} c^{4} d^{2} x^{4} - 4 \,{\left (3675 \, a^{2} + 1459 \, b^{2}\right )} c^{2} d^{2} x^{2} +{\left (3675 \, a^{2} + 4322 \, b^{2}\right )} d^{2}\right )} \sqrt{-c^{2} d x^{2} + d}}{25725 \,{\left (c^{4} x^{2} - c^{2}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: NotImplementedError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]